package com.wholesale.utils;

import android.view.View;
import android.widget.TextView;

import com.wholesale.R;

public class OrderAddressCache {
	private View baseView;
	private TextView paymentName;
	private TextView paymentDesc;
	private TextView payfee;

	public OrderAddressCache(View baseView) {
		this.baseView = baseView;
	}

	public TextView getPaymentName() {
		if (paymentName == null) {
			paymentName = (TextView) baseView.findViewById(R.id.title_lable);
		}
		return paymentName;
	}

	public TextView getPaymentDesc() {
		if (paymentDesc == null) {
			paymentDesc = (TextView) baseView.findViewById(R.id.comments_text);
		}
		return paymentDesc;
	}

	public TextView getPayfee() {
		if (payfee == null) {
			payfee = (TextView) baseView.findViewById(R.id.fee_text);
		}
		return payfee;
	}
}
